class UrlMappings {

	static mappings = {
		"/$controller/$action?/$id?"{
			constraints {
				// apply constraints here
			}
		}
		"/register"(controller: "user", action: "register")
		"/login"(controller: "user", action: "login")
		"/logout"(controller: "user", action: "logout")
		"/activate/$key"(controller: "user", action: "emailActivate")
		
		"/"(view:"/index")
	}
}
